ExamPlay Light Logo
Zalogować się

Computer Science for IGCSE & O level - Programming (Section 16 - No. 17)

What happens if the 'age' is 17 in the given code? ``` IF age >= 17 THEN Print "You are an adult" ELSE Print "You are a child" ENDIF ```
You are a child
You are an adult
No output is produced
An error is produced.

Wyjaśnienie

Since age (17) is greater than or equal to 17, 'You are an adult' will be printed.

Uwagi (0)

Zaloguj się, aby skomentować
Reklama
BrainBehindX Inc Logo
©2026; Obsługiwane przez BrainBehindX Inc